package org.korifey.ffbdd.chess;

public class Move {
	Figure figure;
	ACTION action;
	Coord  newPosition;
	
	public  Move(Figure figure, ACTION action, Coord newPosition) {
		this.figure = figure;
		this.action = action;
		this.newPosition = newPosition;
	}
	
	public String toString() {
		return figure.toString() + action.getInfix() + newPosition.toString();
	}

	public Figure getFigure() {
		return figure;
	}

	public ACTION getAction() {
		return action;
	}

	public Coord getNewPosition() {
		return newPosition;
	}
	
	
	
}
